package com.rentcars.mapper;

import com.rentcars.entity.Dept;
import java.util.List;

public interface DeptMapper {

  int deleteByPrimaryKey(String deptid);

  int insert(Dept record);

  int insertSelective(Dept record);

  Dept selectByPrimaryKey(String deptid);

  int updateByPrimaryKeySelective(Dept record);

  int updateByPrimaryKey(Dept record);

  /**
   * 查询所有租赁门店的id和名称
   *
   * @return 租赁门店集合
   */
  List<Dept> selectAllDeptIdAndName();
}